001 /* 002 * IncompatibleScoringSchemeException.java 003 * 004 * Copyright 2003 Sergio Anibal de Carvalho Junior 005 * 006 * This file is part of NeoBio. 007 * 008 * NeoBio is free software; you can redistribute it and/or modify it under the terms of 009 * the GNU General Public License as published by the Free Software Foundation; either 010 * version 2 of the License, or (at your option) any later version. 011 * 012 * NeoBio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 013 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 014 * PURPOSE. See the GNU General Public License for more details. 015 * 016 * You should have received a copy of the GNU General Public License along with NeoBio; 017 * if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 018 * Boston, MA 02111-1307, USA. 019 * 020 * Proper attribution of the author as the source of the software would be appreciated. 021 * 022 * Sergio Anibal de Carvalho Junior mailto:sergioanibaljr@users.sourceforge.net 023 * Department of Computer Science http://www.dcs.kcl.ac.uk 024 * King's College London, UK http://www.kcl.ac.uk 025 * 026 * Please visit http://neobio.sourceforge.net 027 * 028 * This project was supervised by Professor Maxime Crochemore. 029 * 030 */ 031 032 package neobio.alignment; 033 034 /** 035 * Signals that an scoring scheme is not compatible with the sequences being aligned. 036 * 037 * @author Sergio A. de Carvalho Jr. 038 * @see ScoringScheme 039 * @see PairwiseAlignmentAlgorithm 040 */ 041 public class IncompatibleScoringSchemeException extends Exception 042 { 043 /** 044 * Constructs an <CODE>IncompatibleScoringSchemeException</CODE> with null as its 045 * error detail message. 046 */ 047 public IncompatibleScoringSchemeException () 048 { 049 super(); 050 } 051 052 /** 053 * Constructs an <CODE>IncompatibleScoringSchemeException</CODE> with the specified 054 * detail message. 055 * 056 * @param message an error message 057 */ 058 public IncompatibleScoringSchemeException (String message) 059 { 060 super(message); 061 } 062 063 /** 064 * Constructs an <CODE>IncompatibleScoringSchemeException</CODE> with the specified 065 * cause (and a detail message that typically contains the class and detail message 066 * of cause). 067 * 068 * @param cause a cause 069 */ 070 public IncompatibleScoringSchemeException (Throwable cause) 071 { 072 super(cause); 073 } 074 075 /** 076 * Constructs an <CODE>IncompatibleScoringSchemeException</CODE> with the specified 077 * detail message and cause. 078 * 079 * @param message an error message 080 * @param cause a cause 081 */ 082 public IncompatibleScoringSchemeException (String message, Throwable cause) 083 { 084 super(message, cause); 085 } 086 }